import { createApp } from 'vue'

import App from './App.vue'
// 引入element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//引入路由vue-router
import Router from './router/index'

//引入Windi css
import 'virtual:windi.css'
//引入store
import store from './store'
//导入permission
import './permission'

//引入unocss样式
import 'virtual:unocss-devtools'

const app = createApp(App)
//使用element-plus
app.use(ElementPlus)
//使用store
app.use(store)
//使用路由
app.use(Router)

//挂载DOM元素
app.mount('#app')
